package zisu.netty.practice.RPC.client.codec;

import lombok.Data;

import java.io.Serializable;

/**
 * @Desc: "请求的协议"
 * @Author: caixiang
 * @DATE: 2021/1/16 19:33
 */
@Data
public class RpcRequest implements Serializable {

    private static final long serialVersionUID = -4990319047958721566L;

    //requestId 适用于异步调用方式，，每次request请求 和response请求 都是有requestId对应的。
    private String requestId;

    private String className;

    private String methodName;

    private Class<?>[] parameterTypes;

    private Object[] parameters;
}
